Skip to content

Skip requiring io/wait when IO#wait_readable is built in - #927

Merged
tompng merged 1 commit into
ruby:masterfrom
sampokuokkanen:guard-io-wait-require
Sep 21, 2026
Merged

tompng merged 1 commit into
ruby:masterfrom
sampokuokkanen:guard-io-wait-require

Conversation

@sampokuokkanen

Copy link
Copy Markdown
Contributor

io-wait 1.0.0 warns on load, and it's empty now so should not load it on Rubies newer than 3.2.
Just deleting the require 'io/wait' line would require raising minimum Ruby version to 3.2.

See ruby/io-wait#79 and ruby/io-wait#80

@tompng tompng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@tompng
tompng merged commit 85624a0 into ruby:master Sep 21, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants